.class public Lcom/estrongs/android/pop/zeroconf/d;
.super Lcom/estrongs/android/pop/zeroconf/DNSEntry;
.source "DNSQuestion.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/zeroconf/d$b;,
        Lcom/estrongs/android/pop/zeroconf/d$f;,
        Lcom/estrongs/android/pop/zeroconf/d$e;,
        Lcom/estrongs/android/pop/zeroconf/d$d;,
        Lcom/estrongs/android/pop/zeroconf/d$c;
    }
.end annotation


# direct methods
.method constructor <init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordType;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;Z)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2, p3, p4}, Lcom/estrongs/android/pop/zeroconf/DNSEntry;-><init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordType;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;Z)V

    return-void
.end method

.method public static a(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordType;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;Z)Lcom/estrongs/android/pop/zeroconf/d;
    .locals 2

    .line 1
    sget-object v0, Lcom/estrongs/android/pop/zeroconf/d$a;->a:[I

    invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 2
    new-instance v0, Lcom/estrongs/android/pop/zeroconf/d;

    invoke-direct {v0, p0, p1, p2, p3}, Lcom/estrongs/android/pop/zeroconf/d;-><init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordType;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;Z)V

    return-object v0

    .line 3
    :pswitch_0
    new-instance v0, Lcom/estrongs/android/pop/zeroconf/d$f;

    invoke-direct {v0, p0, p1, p2, p3}, Lcom/estrongs/android/pop/zeroconf/d$f;-><init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordType;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;Z)V

    return-object v0

    .line 4
    :pswitch_1
    new-instance v0, Lcom/estrongs/android/pop/zeroconf/d$e;

    invoke-direct {v0, p0, p1, p2, p3}, Lcom/estrongs/android/pop/zeroconf/d$e;-><init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordType;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;Z)V

    return-object v0

    .line 5
    :pswitch_2
    new-instance v0, Lcom/estrongs/android/pop/zeroconf/d$b;

    invoke-direct {v0, p0, p1, p2, p3}, Lcom/estrongs/android/pop/zeroconf/d$b;-><init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordType;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;Z)V

    return-object v0

    .line 6
    :pswitch_3
    new-instance v0, Lcom/estrongs/android/pop/zeroconf/d$d;

    invoke-direct {v0, p0, p1, p2, p3}, Lcom/estrongs/android/pop/zeroconf/d$d;-><init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordType;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;Z)V

    return-object v0

    .line 7
    :pswitch_4
    new-instance v0, Lcom/estrongs/android/pop/zeroconf/d$d;

    invoke-direct {v0, p0, p1, p2, p3}, Lcom/estrongs/android/pop/zeroconf/d$d;-><init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordType;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;Z)V

    return-object v0

    .line 8
    :pswitch_5
    new-instance v0, Lcom/estrongs/android/pop/zeroconf/d$c;

    invoke-direct {v0, p0, p1, p2, p3}, Lcom/estrongs/android/pop/zeroconf/d$c;-><init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordType;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;Z)V

    return-object v0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_5
        :pswitch_4
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method


# virtual methods
.method public a(Lcom/estrongs/android/pop/zeroconf/h;Ljava/util/Set;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/estrongs/android/pop/zeroconf/h;",
            "Ljava/util/Set<",
            "Lcom/estrongs/android/pop/zeroconf/e;",
            ">;)V"
        }
    .end annotation

    return-void
.end method

.method protected b(Lcom/estrongs/android/pop/zeroconf/h;Ljava/util/Set;)V
    .locals 25
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/estrongs/android/pop/zeroconf/h;",
            "Ljava/util/Set<",
            "Lcom/estrongs/android/pop/zeroconf/e;",
            ">;)V"
        }
    .end annotation

    move-object/from16 v0, p1

    move-object/from16 v1, p2

    if-eqz v0, :cond_3

    .line 1
    iget-object v2, v0, Lcom/estrongs/android/pop/zeroconf/h;->n:Lcom/estrongs/android/pop/zeroconf/f;

    if-eqz v2, :cond_3

    .line 2
    invoke-virtual/range {p0 .. p0}, Lcom/estrongs/android/pop/zeroconf/DNSEntry;->b()Ljava/lang/String;

    move-result-object v3

    iget-object v4, v2, Lcom/estrongs/android/pop/zeroconf/f;->k:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_0

    invoke-virtual/range {p0 .. p0}, Lcom/estrongs/android/pop/zeroconf/DNSEntry;->b()Ljava/lang/String;

    move-result-object v3

    iget-object v4, v2, Lcom/estrongs/android/pop/zeroconf/f;->c:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_3

    .line 3
    :cond_0
    iget-object v3, v0, Lcom/estrongs/android/pop/zeroconf/h;->m:Ljava/net/InetAddress;

    if-eqz v3, :cond_1

    instance-of v3, v3, Ljava/net/Inet4Address;

    if-eqz v3, :cond_1

    .line 4
    new-instance v3, Lcom/estrongs/android/pop/zeroconf/e$b;

    iget-object v5, v0, Lcom/estrongs/android/pop/zeroconf/h;->k:Ljava/lang/String;

    sget-object v6, Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;->CLASS_IN:Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;

    const/4 v7, 0x1

    const/16 v8, 0xe10

    iget-object v9, v0, Lcom/estrongs/android/pop/zeroconf/h;->m:Ljava/net/InetAddress;

    move-object v4, v3

    invoke-direct/range {v4 .. v9}, Lcom/estrongs/android/pop/zeroconf/e$b;-><init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;ZILjava/net/InetAddress;)V

    invoke-interface {v1, v3}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    .line 5
    :cond_1
    iget-object v3, v0, Lcom/estrongs/android/pop/zeroconf/h;->m:Ljava/net/InetAddress;

    if-eqz v3, :cond_2

    instance-of v3, v3, Ljava/net/Inet6Address;

    if-eqz v3, :cond_2

    .line 6
    new-instance v3, Lcom/estrongs/android/pop/zeroconf/e$c;

    iget-object v5, v0, Lcom/estrongs/android/pop/zeroconf/h;->k:Ljava/lang/String;

    sget-object v6, Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;->CLASS_IN:Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;

    const/4 v7, 0x1

    const/16 v8, 0xe10

    iget-object v9, v0, Lcom/estrongs/android/pop/zeroconf/h;->m:Ljava/net/InetAddress;

    move-object v4, v3

    invoke-direct/range {v4 .. v9}, Lcom/estrongs/android/pop/zeroconf/e$c;-><init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;ZILjava/net/InetAddress;)V

    invoke-interface {v1, v3}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    .line 7
    :cond_2
    new-instance v3, Lcom/estrongs/android/pop/zeroconf/e$d;

    sget-object v11, Lcom/estrongs/android/pop/zeroconf/h;->p:Ljava/lang/String;

    sget-object v12, Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;->CLASS_IN:Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;

    const/4 v13, 0x0

    const/16 v14, 0xe10

    iget-object v15, v2, Lcom/estrongs/android/pop/zeroconf/f;->k:Ljava/lang/String;

    move-object v10, v3

    invoke-direct/range {v10 .. v15}, Lcom/estrongs/android/pop/zeroconf/e$d;-><init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;ZILjava/lang/String;)V

    invoke-interface {v1, v3}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    .line 8
    new-instance v3, Lcom/estrongs/android/pop/zeroconf/e$e;

    iget-object v4, v2, Lcom/estrongs/android/pop/zeroconf/f;->k:Ljava/lang/String;

    sget-object v18, Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;->CLASS_IN:Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;

    const/16 v19, 0x1

    const/16 v20, 0xe10

    const/16 v21, 0x0

    const/16 v22, 0x0

    iget v2, v2, Lcom/estrongs/android/pop/zeroconf/f;->d:I

    iget-object v0, v0, Lcom/estrongs/android/pop/zeroconf/h;->k:Ljava/lang/String;

    move-object/from16 v16, v3

    move-object/from16 v17, v4

    move/from16 v23, v2

    move-object/from16 v24, v0

    invoke-direct/range {v16 .. v24}, Lcom/estrongs/android/pop/zeroconf/e$e;-><init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;ZIIIILjava/lang/String;)V

    invoke-interface {v1, v3}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    :cond_3
    return-void
.end method
